'use strict'
import request from '@/utils/request'
/**
 * 字典
 */
export function getDictByCode(dictCode) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysDictionary/getDictByCode',
    method: 'POST',
    data: { dictCode }
  })
}

// 分页查询
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/info/innovateClassify/queryPage',
    method: 'post',
    data
  })
}
// 查询详情
export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/info/innovateClassify/view',
    method: 'post',
    data
  })
}
// 新增
export function insert(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/info/innovateClassify/insert',
    method: 'post',
    data
  })
}
// 编辑
export function update(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/info/innovateClassify/update',
    method: 'post',
    data
  })
}
// 删除
export function del(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/info/innovateClassify/delete',
    method: 'post',
    data
  })
}
